<!-- 封装底部footer -->
<template>
  <div>
    <van-tabbar v-model="active" route>
      <van-tabbar-item replace to="/home" icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item replace to="/market" icon="bag-o">市集</van-tabbar-item>
      <van-tabbar-item replace to="/interesting" icon="eye-o"
        >兴趣社区</van-tabbar-item
      >
      <van-tabbar-item replace to="/message" icon="chat-o"
        >通知</van-tabbar-item
      >
      <van-tabbar-item replace to="/user" icon="user-o">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: 0
    };
  }
};
</script>

<style></style>
